<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script type="text/javascript"  src="http://api.map.baidu.com/api?v=1.0&ak=qp7LjLVCpx4f8LClKGcAsklIaNsCDjhz">
  </script>
</head>
<body>
  <div id="container" style="background:red;width: 500px;height: 500px;"></div>
  <script>
    var map = new BMap.Map("container");
    var point = new BMap.Point(116.404, 39.915);
    map.centerAndZoom(point, 15)
     // map.value = new BMap.Map('map-container'); // 创建地图实例
      // const point = new BMap.Point(116.404, 39.915); // 创建点坐标
      // map.value.centerAndZoom(point, 15); // 初始化地图，设置中心点坐标和地图级别
  </script>
</body>
</html>